package com.zhixiang.wbl.visitor.Constant;

import com.zhixiang.wbl.visitor.model.MyModel;

/**
 * Created by dongzhixiang on 16/5/17.
 */
public class Constant {
   public static final String URL = "http://120.26.126.9/api";
   public static final String BASE_URL = URL + "/index.php/Home";
   public static final String BANNER_URL_PRE = URL + "/Uploads";
   public static final String USER_NAME_KEY = "username";
   public static final String PASSWORD_KEY = "password";

   public static final String USER_INFO_PRE = "USER_INFO_PRE";
   public static final String USERINFO_dbName = "Userinfo";

   public static final String VISITOR_ID_KEY = "VISITOR_ID_KEY";
   public static final String CURRENT_VISITOR_KEY = "CURRENT_VISITOR";
   public static final String LOCATION_SD_KEY = "LOCATION_SD_KEY";
   public static final String LATITUDE_KEY = "LATITUDE_KEY";
   public static final String LONGTITUDE_KEY = "LONGTITUDE_KEY";
   public static final String RONG_KEY = "0vnjpoadnweiz";
   public static final String RONG_SCRETE = "SozYrfj044v";

   //登录接口
   public static final String LOGIN_URL
           = BASE_URL + "/Index/login";
   //游客图片文件上传接口
   public static final String VISITOR_IMAGE_UPDATE = BASE_URL + "/Upload/uploadAvator";//
   //Sharepreference
   public static final String USER_INFO = "user_info";
   //广告栏数据接口
   public static final String BANNER_URL = BASE_URL + "/Banner/getBanners";
   //首页其他数据接口
   public static final String HOME_PAGE_URL = BASE_URL + "/Spot/getSpots";
   //更新游客位置接口 参数user_id type latitude longtitude
   public static final String UPDATE_VISITOR_LOCATION = BASE_URL + "/Index/updateLocation";
   //我的数据
   public static final MyModel[] MY_DATES = {
   new MyModel(0,"头像","main_icon_figure",MyModel.MinType.MineTypeImage, true,true),

   new MyModel(1,"二维码","erweima",MyModel.MinType.MineTypeImage, false,true),

   new MyModel(2,"昵称","",MyModel.MinType.MineTypeText, true,true),

   new MyModel(3,"性别","",MyModel.MinType.MineTypeText, true),

   new MyModel(4,"年龄","",MyModel.MinType.MineTypeText, true),

   new MyModel(5,"姓名","",MyModel.MinType.MineTypeText, true),

   new MyModel(6,"手机号","",MyModel.MinType.MineTypeText, true)

 };
   //获取游客位置接口
   public static final String LOCATION_GET_URL = BASE_URL + "/Location/getLocation";
   //获取Token接口
   public static final String Token_GET_URL = BASE_URL + "/Index/getTokenById";
   //获取UserInfo接口
   public static final String UserInfo_GET_URL = BASE_URL + "/Index/getUserInfo";
   //DEBUG SHA1: B6:13:3E:25:2B:06:EB:9E:DD:D4:7B:36:20:B2:C3:3D:6E:90:9D:7B
   //RELEASE  SHA1: 66:39:E7:1A:C3:A2:FF:24:E3:BA:24:55:9A:77:A8:DE:1E:52:16:41
}
